package com.lunar.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lunar.entity.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserInfoMapper  extends  BaseMapper<UserInfo> {
    List<UserInfo> getAll();

    int login(@Param("username") String username,@Param("password") String password);
}
